package com.nhn.ssi.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.nhn.ssi.bean.Order;
import com.nhn.ssi.bean.Product;
import com.nhn.ssi.bean.UserBean;
import com.nhn.ssi.util.Pager;

public interface TestDao {

	public List<Product> selectProductList(Map<String, Object> map) throws SQLException;

	@SuppressWarnings("unchecked")
	public List findUserList(Pager pager) throws SQLException;

	@SuppressWarnings("unchecked")
	public List findAllUserList() throws SQLException;

	public int getUserListSize() throws SQLException;

	public UserBean findUserById(String id) throws SQLException;

	public void addUser(UserBean userBean) throws SQLException;

	public void saveCollection() throws SQLException;

	public void deleteUser(String data) throws SQLException;

	public void modifyUser(UserBean userBean) throws SQLException;

	public UserBean login(String username, String password) throws SQLException;

	public List<Order> getOrderList(Map<String, Object> map) throws SQLException;

}
